Account Closure Request
GET /platform/wallets/accounts/closure-request
Description
Retrieve information about account closure requests from clients.
Path Parameters
| Name | Type | Description |
|---|---|---|
| pageNumber | integer($int32) | The page number for paginated results. |
| pageSize | integer($int32) | The number of items per page for paginated results. |
| walletUserIds | array[string] | An array of wallet user IDs to filter closure requests by specific users. |
| userProfileIds | array[string] | An array of user profile IDs to filter closure requests by specific user profiles. |
| currencies | array[string] | An array of currency codes to filter closure requests by specific currencies. |
| reasons | array[string] | An array of reasons for account closure to filter closure requests by specific reasons. |
| requestStatuses | array[string] | An array of request statuses to filter closure requests by specific statuses. |
| startDate | string($date-time) | The start date for filtering closure requests based on the request date. |
| endDate | string($date-time) | The end date for filtering closure requests based on the request date. |
Example
cURL
GET /platform/wallets/accounts/closure-request HTTP/1.1
Host: 20.87.230.105
apiKey: 6987f1c0-f01f-4b31-86e5-416ccaa906de
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NGQ2NmNmYWQ2NWQ1NTNhZDYwOTBiY2IiLCJmaXJzdE5hbWUiOiJTQUJJIE5HIiwibGFzdE5hbWUiOiJQbGF0Zm9ybSIsInVzZXJuYW1lIjoidGVjaEBzYWJpLmFtIiwicGFzc3dvcmQiOm51bGwsInR5cGUiOiJVU0VSIiwiY291bnRyeSI6eyJuYW1lIjoiTmlnZXJpYSIsImNvZGUiOiJORyIsImN1cnJlbmN5IjoiTkdOIiwiX2lkIjoiNjRkNjZjZmFkNjVkNTUzYWQ2MDkwYmNjIn0sInRlbmFudHMiOlsiNjRkYjY4NmIzZjljNGJjMThkNWM2NTA3IiwiNjRmYjMzYjEwMTUzMWNkYWFhZTlkMzM5Il0sInJvbGVzIjpbIlRFTkFOVF9TVVBFUl9BRE1JTiIsIlRFTkFOVF9BRE1JTiJdLCJpYXQiOjE3MDIyOTgyODgsImV4cCI6MTcwMjkwMzA4OH0.9BIMwE8o52p1-KPX9M7xmtXVNC86yWypbUejtMpvJC8
StartFragment
Response Code: 200 - OK
Description
Account closure requests returned successfully.
Response Field
| Field | Type | Description |
|---|---|---|
| status | boolean | Indicates the overall success of the operation. |
| statusCode | integer | Represents the specific status code for the response. |
| message | string | Provides additional information about the response. |
| data | object | Contains the main data payload of the response. |
| errors | array | An array containing error details if issues occurred. |
| - message | string | Describes the error. |
| - descriptiveMessage | string | Provides a more detailed and descriptive message about the error. |
Example
<response>
<status>true</status>
<statusCode>0</statusCode>
<message>string</message>
<data></data>
<errors>
<error>
<message>string</message>
<descriptiveMessage>string</descriptiveMessage>
</error>
</errors>
</response>
Response Code: 400 - Bad Request
Description
Invalid account id.
Example
<response>
<status>false</status>
<statusCode>400</statusCode>
<message>Invalid account id</message>
<data></data>
<errors>
<error>
<message>Invalid account id</message>
<descriptiveMessage></descriptiveMessage>
</error>
</errors>
</response>
curlUrl: "/platform/wallets/accounts/closure-request" curlMethod: GET
Response Code: 404 - Not Found
Description
Account id not found.
Example
<response>
<status>false</status>
<statusCode>404</statusCode>
<message>Account id not found</message>
<data></data>
<errors>
<error>
<message>Account id not found</message>
<descriptiveMessage></descriptiveMessage>
</error>
</errors>
</response>
Method: GET
>http://20.87.230.105/platform/wallets/accounts/closure-request
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
Body (raw)
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request GET \
--url /platform/wallets/accounts/closure-request \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!